|
The description above is a specification
for the ADT Integer. Please notice, that we use words for names of
operations such as ``add''. We could use the more intuitive ``+'' sign
instead, but this may lead to some confusion: You must distinguish the
operation ``+'' from the mathematical use of ``+'' in the postcondition. The
name of the operation is just syntax whereas the semantics is
described by the associated pre- and postconditions. However, it is always a
good idea to combine both to make reading of ADT specifications easier.
|